<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>OptionsPricing: solvers::IMEXTimeStepper::IMEXTimeStepper Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">OptionsPricing
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>solvers</b>      </li>
      <li class="navelem"><b>IMEXTimeStepper</b>      </li>
      <li class="navelem"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html">IMEXTimeStepper</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">solvers::IMEXTimeStepper::IMEXTimeStepper Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="solvers::IMEXTimeStepper::IMEXTimeStepper" -->
<p><a href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html#a1561984957ce1a15bc41e83291c042a5">__init__</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html#a5801ff40cd15997f4651861d35935e44">set_bcond</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html#aa2acaae7188abf7af247dc7ea68ae2cc">set_boperators</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html#adbea7d4ec795b49fe83e548c0d0c4cf0">set_dolog</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html#a0fd69687ad2f69a1abe0375dee34a277">set_finite_elem_space</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html#a724c9ac11f93da4af754a897e403a783">set_ival</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html#a91166ac4075dd8c71c32a3237be42699">set_load</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html#a38a8668da137bf7c5bd9f8e4255503f5">set_method</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html#a86d514e8b761e7eb058762bd2210c8d7">set_moperators</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html#ad0290eb80578ddc87aa2ab01b5769749">set_number_steps</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html#a9cbb4b1f58137d54fcf87cf428a572d2">set_numextrap_stages</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html#a23273322062288923b33707169998da5">set_time2simulate</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html#a0725dafcb725f6b5689bc41edaf828b4">set_xlxr</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsolvers_1_1IMEXTimeStepper_1_1IMEXTimeStepper.html#ac5e09504fe33085c02d90cc625254e1f">step</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><div class="fragment"><pre class="fragment">
Implicit Explicit time stepper as described in:

    @article{PIDpaper,
       author =  {Liming Feng, Vadim Linetsky},
       title =   {Pricing Options in Jump-Diffusion Models: An Extrapolation Approach.},
       journal = {Options Research},
       volume =  2,
       year =    2008,
       pages =   {304-325},
    }


The algorithm presented here differs to the one in the paper on the
way boundary conditions are treated. Boundary conditions are assumed
to be zero in the paper, here we handle time dependent boundary conditions.
</pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00033">33</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1561984957ce1a15bc41e83291c042a5"></a><!-- doxytag: member="solvers::IMEXTimeStepper::IMEXTimeStepper::__init__" ref="a1561984957ce1a15bc41e83291c042a5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def solvers::IMEXTimeStepper::IMEXTimeStepper::__init__ </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">
Implicit - Explicit time stepper.

Variables:
    m_adaptive (bool) ~ use adaptive time steps?.
    m_dolog (bool) ~ log results.
    m_tol (float) ~ tolerance for adaptive steps.
    m_mass ~ mass matrix.
    m_stiff ~ full pde.
    m_jump ~ convolution.
    m_lbc ~ left boundary condition ( function (x, t) )
    m_lbop ~ pde compensation for implicit solution.
    m_method ~ Euler, midpoint, extrapolation.
    m_rbc ~ right boundary condition.
    m_rbop ~ right compensation for implicit solution
    m_load ~ rhs of the system of equations.
    m_ival ~ initial value
    m_numstepes ~ number of time steps.
    m_numstages ~ number of internal states in extrapolation.
    m_ftime ~ time to expiry.
</pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00079">79</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>

<p>References <a class="el" href="IMEXTimeStepper_8py_source.html#l00117">__euler()</a>, <a class="el" href="IMEXTimeStepper_8py_source.html#l00155">__inner_load()</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00132">models::DynamicSolverBase::DynamicSolverBase::m_dolog</a>, <a class="el" href="IMEXTimeStepper_8py_source.html#l00219">m_dolog</a>, <a class="el" href="IMEXTimeStepper_8py_source.html#l00276">m_ftime</a>, <a class="el" href="IMEXTimeStepper_8py_source.html#l00226">m_ival</a>, <a class="el" href="DirichletTimeStepper_8py_source.html#l00090">solvers::DirichletTimeStepper::DirichletTimeStepper::m_lbc</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00142">models::DynamicSolverBase::DynamicSolverBase::m_lbc</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00114">models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::m_load</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00147">models::DynamicSolverBase::DynamicSolverBase::m_load</a>, <a class="el" href="SecondOrderStatic1D_8py_source.html#l00156">models::SecondOrderStatic1D::SecondOrderStatic1D::m_load</a>, <a class="el" href="IMEXTimeStepper_8py_source.html#l00239">m_load</a>, <a class="el" href="FemBases_8py_source.html#l00033">utils::FemBases::FemBasisBase::m_mass</a>, <a class="el" href="FemBases_8py_source.html#l00089">utils::FemBases::LagrangeP1::m_mass</a>, <a class="el" href="FemBases_8py_source.html#l00171">utils::FemBases::LagrangeP2::m_mass</a>, <a class="el" href="SecondOrderStatic1D_8py_source.html#l00077">models::SecondOrderStatic1D::SecondOrderStatic1D::m_mesh</a>, <a class="el" href="IMEXTimeStepper_8py_source.html#l00244">m_method</a>, <a class="el" href="IMEXTimeStepper_8py_source.html#l00270">m_numstates</a>, <a class="el" href="IMEXTimeStepper_8py_source.html#l00260">m_numsteps</a>, <a class="el" href="DirichletTimeStepper_8py_source.html#l00090">solvers::DirichletTimeStepper::DirichletTimeStepper::m_rbc</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00152">models::DynamicSolverBase::DynamicSolverBase::m_rbc</a>, <a class="el" href="LCSolverBase_8py_source.html#l00065">solvers::LCSolverBase::LCSolverBase::m_tol</a>, <a class="el" href="testPdeSolvers_8py_source.html#l00086">testPdeSolvers::PdeTestSuite::m_xl</a>, and <a class="el" href="testPdeSolvers_8py_source.html#l00086">testPdeSolvers::PdeTestSuite::m_xr</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5801ff40cd15997f4651861d35935e44"></a><!-- doxytag: member="solvers::IMEXTimeStepper::IMEXTimeStepper::set_bcond" ref="a5801ff40cd15997f4651861d35935e44" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def solvers::IMEXTimeStepper::IMEXTimeStepper::set_bcond </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>lbc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>rbc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">
Should be function of type (x, t).
they will be evaluated as needed by the time stepper.
</pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00209">209</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>

<p>References <a class="el" href="DirichletTimeStepper_8py_source.html#l00090">solvers::DirichletTimeStepper::DirichletTimeStepper::m_lbc</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00142">models::DynamicSolverBase::DynamicSolverBase::m_lbc</a>, <a class="el" href="DirichletTimeStepper_8py_source.html#l00090">solvers::DirichletTimeStepper::DirichletTimeStepper::m_rbc</a>, and <a class="el" href="DynamicSolverBase_8py_source.html#l00152">models::DynamicSolverBase::DynamicSolverBase::m_rbc</a>.</p>

</div>
</div>
<a class="anchor" id="aa2acaae7188abf7af247dc7ea68ae2cc"></a><!-- doxytag: member="solvers::IMEXTimeStepper::IMEXTimeStepper::set_boperators" ref="aa2acaae7188abf7af247dc7ea68ae2cc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def solvers::IMEXTimeStepper::IMEXTimeStepper::set_boperators </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mlbop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mrbop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>slbop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>srbop</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">
This operators will be applied by the time stepper
at each iteration. The time stepper will compute the
solution at time 't' at the points 'xl' and 'xr',
modify them and compensate the fwd step.
</pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00198">198</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>

</div>
</div>
<a class="anchor" id="adbea7d4ec795b49fe83e548c0d0c4cf0"></a><!-- doxytag: member="solvers::IMEXTimeStepper::IMEXTimeStepper::set_dolog" ref="adbea7d4ec795b49fe83e548c0d0c4cf0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def solvers::IMEXTimeStepper::IMEXTimeStepper::set_dolog </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>dolog</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">
log progress ???
</pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00217">217</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>

<p>References <a class="el" href="DynamicSolverBase_8py_source.html#l00132">models::DynamicSolverBase::DynamicSolverBase::m_dolog</a>, and <a class="el" href="IMEXTimeStepper_8py_source.html#l00219">m_dolog</a>.</p>

</div>
</div>
<a class="anchor" id="a0fd69687ad2f69a1abe0375dee34a277"></a><!-- doxytag: member="solvers::IMEXTimeStepper::IMEXTimeStepper::set_finite_elem_space" ref="a0fd69687ad2f69a1abe0375dee34a277" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def solvers::IMEXTimeStepper::IMEXTimeStepper::set_finite_elem_space </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>sfunc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>quads</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mesh</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">finite element space for time dependent load. </pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00230">230</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>

<p>References <a class="el" href="SecondOrderStatic1D_8py_source.html#l00077">models::SecondOrderStatic1D::SecondOrderStatic1D::m_mesh</a>.</p>

</div>
</div>
<a class="anchor" id="a724c9ac11f93da4af754a897e403a783"></a><!-- doxytag: member="solvers::IMEXTimeStepper::IMEXTimeStepper::set_ival" ref="a724c9ac11f93da4af754a897e403a783" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def solvers::IMEXTimeStepper::IMEXTimeStepper::set_ival </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>ival</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">
Initial value projected in the finite element space.
</pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00224">224</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>

<p>References <a class="el" href="IMEXTimeStepper_8py_source.html#l00226">m_ival</a>.</p>

<p>Referenced by <a class="el" href="BermudamTimeStepper_8py_source.html#l00052">solvers::BermudamTimeStepper::BermudamTimeStepper::step()</a>.</p>

</div>
</div>
<a class="anchor" id="a91166ac4075dd8c71c32a3237be42699"></a><!-- doxytag: member="solvers::IMEXTimeStepper::IMEXTimeStepper::set_load" ref="a91166ac4075dd8c71c32a3237be42699" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def solvers::IMEXTimeStepper::IMEXTimeStepper::set_load </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>load</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">
Accounts for modifying the initial value. Load is assumed to be
constant, time varying can be implemented too.
</pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00236">236</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00114">models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::m_load</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00147">models::DynamicSolverBase::DynamicSolverBase::m_load</a>, <a class="el" href="SecondOrderStatic1D_8py_source.html#l00156">models::SecondOrderStatic1D::SecondOrderStatic1D::m_load</a>, and <a class="el" href="IMEXTimeStepper_8py_source.html#l00239">m_load</a>.</p>

</div>
</div>
<a class="anchor" id="a38a8668da137bf7c5bd9f8e4255503f5"></a><!-- doxytag: member="solvers::IMEXTimeStepper::IMEXTimeStepper::set_method" ref="a38a8668da137bf7c5bd9f8e4255503f5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def solvers::IMEXTimeStepper::IMEXTimeStepper::set_method </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>method</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">time stepping method. </pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00244">244</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>

<p>References <a class="el" href="IMEXTimeStepper_8py_source.html#l00244">m_method</a>.</p>

</div>
</div>
<a class="anchor" id="a86d514e8b761e7eb058762bd2210c8d7"></a><!-- doxytag: member="solvers::IMEXTimeStepper::IMEXTimeStepper::set_moperators" ref="a86d514e8b761e7eb058762bd2210c8d7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def solvers::IMEXTimeStepper::IMEXTimeStepper::set_moperators </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>stiff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>jump</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">
Three matrices are needed to perform the time steps:
mass matrix, pde ~ stiffnes, jump ~ Toeplitz type.
</pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00250">250</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>

<p>References <a class="el" href="FemBases_8py_source.html#l00033">utils::FemBases::FemBasisBase::m_mass</a>, <a class="el" href="FemBases_8py_source.html#l00089">utils::FemBases::LagrangeP1::m_mass</a>, and <a class="el" href="FemBases_8py_source.html#l00171">utils::FemBases::LagrangeP2::m_mass</a>.</p>

</div>
</div>
<a class="anchor" id="ad0290eb80578ddc87aa2ab01b5769749"></a><!-- doxytag: member="solvers::IMEXTimeStepper::IMEXTimeStepper::set_number_steps" ref="ad0290eb80578ddc87aa2ab01b5769749" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def solvers::IMEXTimeStepper::IMEXTimeStepper::set_number_steps </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>numsteps</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">
Will be used for non adaptive schemes.
</pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00258">258</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>

<p>References <a class="el" href="IMEXTimeStepper_8py_source.html#l00260">m_numsteps</a>.</p>

<p>Referenced by <a class="el" href="BermudamTimeStepper_8py_source.html#l00052">solvers::BermudamTimeStepper::BermudamTimeStepper::step()</a>.</p>

</div>
</div>
<a class="anchor" id="a9cbb4b1f58137d54fcf87cf428a572d2"></a><!-- doxytag: member="solvers::IMEXTimeStepper::IMEXTimeStepper::set_numextrap_stages" ref="a9cbb4b1f58137d54fcf87cf428a572d2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def solvers::IMEXTimeStepper::IMEXTimeStepper::set_numextrap_stages </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>numstages</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">
This number will define the max number of intermediate stages
to go from step i to step i+1. Case the algorithm does not
reach the desired tolerance, it will adjust the step size
and repeat the process.
</pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00265">265</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>

<p>References <a class="el" href="IMEXTimeStepper_8py_source.html#l00270">m_numstates</a>.</p>

</div>
</div>
<a class="anchor" id="a23273322062288923b33707169998da5"></a><!-- doxytag: member="solvers::IMEXTimeStepper::IMEXTimeStepper::set_time2simulate" ref="a23273322062288923b33707169998da5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def solvers::IMEXTimeStepper::IMEXTimeStepper::set_time2simulate </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>ftime</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">Termination time for simulation.  </pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00276">276</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>

<p>References <a class="el" href="IMEXTimeStepper_8py_source.html#l00276">m_ftime</a>.</p>

<p>Referenced by <a class="el" href="BermudamTimeStepper_8py_source.html#l00052">solvers::BermudamTimeStepper::BermudamTimeStepper::step()</a>.</p>

</div>
</div>
<a class="anchor" id="a0725dafcb725f6b5689bc41edaf828b4"></a><!-- doxytag: member="solvers::IMEXTimeStepper::IMEXTimeStepper::set_xlxr" ref="a0725dafcb725f6b5689bc41edaf828b4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def solvers::IMEXTimeStepper::IMEXTimeStepper::set_xlxr </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>xleft</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>xright</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">Evaluate left and right boundary conditions here. </pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00282">282</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>

<p>References <a class="el" href="testPdeSolvers_8py_source.html#l00086">testPdeSolvers::PdeTestSuite::m_xl</a>, and <a class="el" href="testPdeSolvers_8py_source.html#l00086">testPdeSolvers::PdeTestSuite::m_xr</a>.</p>

</div>
</div>
<a class="anchor" id="ac5e09504fe33085c02d90cc625254e1f"></a><!-- doxytag: member="solvers::IMEXTimeStepper::IMEXTimeStepper::step" ref="ac5e09504fe33085c02d90cc625254e1f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def solvers::IMEXTimeStepper::IMEXTimeStepper::step </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">Stiffness will be solve implicitly, non-stiffness is explicit. </pre></div> 
<p>Definition at line <a class="el" href="IMEXTimeStepper_8py_source.html#l00288">288</a> of file <a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a>.</p>

<p>References <a class="el" href="IMEXTimeStepper_8py_source.html#l00117">__euler()</a>, <a class="el" href="IMEXTimeStepper_8py_source.html#l00167">__midpoint()</a>, <a class="el" href="IMEXTimeStepper_8py_source.html#l00276">m_ftime</a>, <a class="el" href="IMEXTimeStepper_8py_source.html#l00226">m_ival</a>, <a class="el" href="DirichletTimeStepper_8py_source.html#l00090">solvers::DirichletTimeStepper::DirichletTimeStepper::m_lbc</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00142">models::DynamicSolverBase::DynamicSolverBase::m_lbc</a>, <a class="el" href="SecondOrderStatic1D_8py_source.html#l00077">models::SecondOrderStatic1D::SecondOrderStatic1D::m_mesh</a>, <a class="el" href="IMEXTimeStepper_8py_source.html#l00244">m_method</a>, <a class="el" href="IMEXTimeStepper_8py_source.html#l00260">m_numsteps</a>, <a class="el" href="DirichletTimeStepper_8py_source.html#l00090">solvers::DirichletTimeStepper::DirichletTimeStepper::m_rbc</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00152">models::DynamicSolverBase::DynamicSolverBase::m_rbc</a>, <a class="el" href="testPdeSolvers_8py_source.html#l00086">testPdeSolvers::PdeTestSuite::m_xl</a>, and <a class="el" href="testPdeSolvers_8py_source.html#l00086">testPdeSolvers::PdeTestSuite::m_xr</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="IMEXTimeStepper_8py_source.html">IMEXTimeStepper.py</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Dec 22 2011 05:17:54 for OptionsPricing by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
